package cn.wjc.core.event;

import lombok.extern.slf4j.Slf4j;
import org.springframework.context.ApplicationEvent;

@Slf4j
public class CouponEvent extends ApplicationEvent {

    private String message;

    public CouponEvent(String message) {
        super(message);
        this.message = message;
        log.debug("[CouponEvent] add event success。message: {}", message);
    }

    public String getMessage() {
        return message;
    }
}
